package com.service.admin.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.admin.member.controller.req.MemberJAPageReq;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.model.JournalAccount;
import com.service.dao.po.MemberJAHRPo;
import com.service.dao.po.MemberJAPo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年10月07日</dd>
 * </dl>
 *
 * @author
 */
public interface MemberJAService extends IService<JournalAccount> {

    CommonPageRep<MemberJAPo> pageMemberJA(MemberJAPageReq pageReq);

    CommonPageRep<MemberJAHRPo> pageMemberJAHR(MemberJAPageReq pageReq);

    /**
     * 统计某种类型某天的累计数量
     * @param someDay
     * @param typeList
     * @return
     */
    BigDecimal totalStatementByParam(String someDay, List<Integer> typeList);
}
